package com.gpStudy.Netty.rpc.provider;

import com.gpStudy.Netty.rpc.api.IRpcService;

public class RpcServiceImpl implements IRpcService {
    public int add(int x, int y) {
        return x+y;
    }

    public int sub(int x, int y) {
        return x-y;
    }

    public int div(int x, int y) {
        return x/y;
    }

    public int mult(int x, int y) {
        return x*y;
    }
}
